package org.dromara.netbar.domain.bo;

import org.dromara.netbar.domain.NetbarClient;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 客机管理业务对象 netbar_client
 *
 * @author Lion Li
 * @date 2025-07-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = NetbarClient.class, reverseConvertGenerate = false)
public class NetbarClientBo extends BaseEntity {

    private String tenantId;
    /**
     * 客户端ID
     */
    @NotNull(message = "客户端ID不能为空", groups = { EditGroup.class })
    private Long clientId;

    /**
     * 客户端编号
     */
    @NotBlank(message = "客户端编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String clientNo;

    /**
     * 座位类型
     */
    private Long seatTypeId;

    /**
     * 客户端密码
     */
    private String clientPassword;

    /**
     * 状态（0正常 1停用 2使用中）
     */
    private String status;

    /**
     * 服务状态
     */
    private String serviceStatus;

    /**
     * MAC地址
     */
    private String macAddress;

    /**
     * 备注
     */
    private String remark;

    private String appVersion;
}
